package com.hope.domain.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class LoginFormDTO {

    private Long id;

    @NotBlank(message = "用户名不能为空")
    private String username;

    private String email;
    private String code;

    private int role;

    @NotBlank(message = "密码不能为空")
    private String password;

    private String passwordConfirm;
}